import Ajax from './ajax'

// 自动登录请求接口
export const AutoLogin = () =>Ajax('/api/userinfo')
//用户登出，干掉session
export const LogOut = () => Ajax('/api/logout')

//获取商家信息
export const reqShopinfo = () => Ajax('/shopinfo')

//获取食物信息
export const reqShopgoods = () => Ajax('/shopgoods')

//获取评论信息
export const reqShopingrating = () => Ajax('/shopratings')